﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="EditProduct.ascx.cs" Inherits="UserControls_EditProduct"  %>
<%@ Register src="AddProduct.ascx" tagname="AddProduct" tagprefix="uc1" %>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
    <table>
        <tr>
            <td>Product</td>
            <td><asp:DropDownList runat="server" ID="ddlProducts"  OnSelectedIndexChanged="ddlProducts_SelectedIndexChanged" AutoPostBack="True"/></td>
        </tr>
    </table>
<uc1:AddProduct ID="AddProduct1" runat="server" />
<asp:Button runat="server" Text="Submit" ID="btnSubmit" onclick="btnSubmit_Click"/>
    &nbsp;<asp:Button ID="btnSubmit0" runat="server" 
        Text="Delete" onclick="btnDelete_Click" />
</ContentTemplate>
</asp:UpdatePanel>
